dart slice

193

  List a = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10];
  
  List b = a.sublist(5, 10);
  
  print(b); //prints [4, 5, 6, 7] 

Comments

Submit
0 Comments